Release 10.1A: OpenEdge Data Management:
SQL Reference
EXEC SQL Delimiter
In C language programs, you must precede embedded SQL statements with the
Note: Constructs within aEXEC SQLdelimiter so that the precompiler can distinguish statements from the host language statements.BEGIN-END DECLARE SECTIONdo not require theEXEC SQLdelimiter.Syntax
sql_statementAn SQL statement to be processed by the ESQL precompiler. You must terminate each SQL statement with a semicolon to mark the end of the statement.
Example
Note
- In general, the ESQL precompiler does not parse host language statements and therefore does not detect any syntax or semantic errors in host language statements. The exceptions to this rule are:
- Recognition of host language blocks. The precompiler recognizes host language blocks in order to determine the scope of variables and types.
- Constants defined with the #define preprocessor command. To evaluate these constants, the ESQL precompiler invokes the C language preprocessor before beginning embedded SQL processing.
Authorization
None
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |